GXGetJobPageRange
You can use theGXGetJobPageRange
function to obtain a user-specified page range.
void GXGetJobPageRange (gxJob aJob, long *firstPage, long *lastPage);
aJob
- A reference to the job object for which to retrieve the page range.
firstPage
- On return, the first page the user wants to print.
lastPage
- On return, the last page the user wants to print.
DESCRIPTION
When the user requests printing, you should call theGXGetJobPageRange
function to obtain the user-specified page range. The user specifies a page range in the Print dialog box.You can set the
firstPage
parameter or thelastPage
parameter tonil
to ignore the result.RESULT CODES
gxSegmentLoadFailedErr A required code segment could not be found, or there was not enough memory to load it. collectionItemNotFoundErr The collection object item cannot be located. SEE ALSO
Listing 2-5 on page 2-21 and Listing 2-6 on page 2-23 show how to use theGXGetJobPageRange
function to obtain the user-specified page range.
Main | Page One | What's New | Apple Computer, Inc. | Find It | Contact Us | Help